Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 8 - TCP/IP Services / TCP/IP Services Reference
Constants and Data Types


Internet Host Information Structure

The OTInetStringToAddress function (page 8-40) returns IP addresses for a host in an internet host information structure. The internet host information structure is defined by the InetHostInfo data type.

struct InetHostInfo {
   InetDomainName name;
   InetHost       addrs[kMaxHostAddrs];
};
Field Description
name
The canonical name of the host. The canonical name is a fully qualified domain name that is not an alias.
addrs
Up to ten IP addresses associated with this host name. Only multihomed hosts have more than one IP address.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996